package com.mcr.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mcr.reggie.entity.AddressBook;

import java.util.List;

public interface AddressBookService extends IService<AddressBook> {
    void saveAddressBook(AddressBook addressBook);

    void setDefaultAddressBook(AddressBook addressBook);

    AddressBook getAddressBookById(Long id);

    AddressBook getDefaultAddressBook();

    List<AddressBook> listAddressBook();
}
